'Declaration
Public Overloads Shared Sub Error( _ ByVal writeMode As LogWriteMode, _ ByVal category As String, _ ByVal caption As String, _ ByVal description As String, _ ByVal ParamArray args() As Object _ )
public static void Error( LogWriteMode writeMode, string category, string caption, string description, params object[] args )
Parameters
- writeMode
- Whether to queue-and-return or wait-for-commit.
- category
- The application subsystem or logging category that the log message is associated with, which supports a dot-delimited hierarchy (e.g. the logger name in log4net).
- caption
- A simple single-line message caption. (Will not be processed for formatting.)
- description
- Additional multi-line descriptive message (or may be null) which can be a format string followed by corresponding args.
- args
- A variable number of arguments referenced by the formatted description string (or no arguments to skip formatting).